package com.usian.cart.fegin;

import com.usian.jyzx.model.entity.product.ProductSku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 07 11 15 18
 **/
@FeignClient("product-service")
public interface ProductFegin {
    @GetMapping("/api/product/findProductSkuById/{id}")
    public ProductSku findProductSkuById(@PathVariable("id") Long id);
}
